import Vue from 'vue'
import axios from 'axios'

axios.interceptors.request.use((config) => {
	config.baseURL = '/v1/';
	config.headers.Authorization = 'Bearer app-poPLtKUWKzDduMB6mXHOYqad';
	return config
})

axios.interceptors.response.use((response) => {
	return response;
}, err => {
	return Promise.reject(err)
})

export default axios